/**
 * 
 */
package de.cbf.cam.map2d.interfaces;

import org.eclipse.swt.graphics.Point;

import de.cbf.cam.map2d.listeners.ShapeSelectionListener;
import de.cbf.cam.map2d.shapes.Shape;

/**
 * @author Stefan Alter
 *
 */
public interface SelectableShape {
	
	public Point getPosition();
	
	/** method to check if a collision with this object occured on a specific point
	 * @param toCheck : Point at which collision could occur 
	 * @return 	<li>no collosion : null
	 *			<li>collision 	 : <b>this</b>
	 */
	public SelectableShape checkCollision(Point toCheck);	
	
	/**method to get specific selection Listener to find out what to do
	 * @return
	 */
	public ShapeSelectionListener getSelectionListener();
	
	public Shape getShape();
}
